﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000B8 RID: 184
	internal class UInt8UInt32 : IUInt32Decoder
	{
		// Token: 0x060002D3 RID: 723 RVA: 0x0000BAE7 File Offset: 0x00009EE7
		private UInt8UInt32()
		{
		}

		// Token: 0x060002D4 RID: 724 RVA: 0x0000BAEF File Offset: 0x00009EEF
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (uint)bytes[offset + 1];
		}

		// Token: 0x040000D7 RID: 215
		internal static readonly IUInt32Decoder Instance = new UInt8UInt32();
	}
}
